<div class='fui-page fui-page-current'>
    <div class='fui-content'>
		<div style="background: #FF4444;padding:0.5rem;margin-top:0;padding-bottom:1.6rem;">
			<div class="fui-cellone" style="padding:0">
				<div class="fui-cellone-label" style="width:auto;">
					<img style="border-radius: 0.2rem;width:2.2rem;height:2.2rem" ng-src="{{tomedia(pagedata.merch.logo) || '../core/resource/images/gw-user.png'}}" />
				</div>
				<div class="fui-cellone-text" style="font-size:0.7rem;color:#fff;padding-left:0.5rem">
					<div class="bold">{{pagedata.merch.merchname || '商户名称'}} 
					</div>
					<div style="font-size:0.6rem">{{pagedata.merch.desc}}</div>
				</div>
			</div>	
			<div class="fui-icon-group noborder  col-4" style="padding-top:0.5rem">
					<div ng-click="access_json('jy_goodserpfw/merch.kulog//type=1')" class="fui-icon-col-sm external" style="margin:0">
						<div class="subtitle" style="font-size:12px;color:#fff">总出库</div>
						<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.chunum || '0'}}</div>
					</div>
					<div ng-click="access_json('jy_goodserpfw/merch.buylog/')" class="fui-icon-col-sm external" style="margin:0">
						<div class="subtitle" style="font-size:12px;color:#fff">进货记录</div>
						<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.buynum || 0}}</div>
					</div>
					<div ng-click="access_json('jy_goodserpfw/merch.kulog//type=0')" class="fui-icon-col-sm external" style="margin:0">
						<div class="subtitle" style="font-size:12px;color:#fff">今日入库</div>
						<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.lunumday || 0}}</div>
					</div>
					<div ng-click="access_json('jy_goodserpfw/merch.kulog//type=1')" class="fui-icon-col-sm external" style="margin:0">
						<div class="subtitle" style="font-size:12px;color:#fff">今日出库</div>
						<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.chunumallday || 0}}</div>
					</div>
			</div>			
	</div>
	<div style="padding:0.5rem;margin-top:-2rem">
	<!--<div class="fui-cell-group fui-cell-click mod-group radius" style="background-color:#FCC600">
		<div class="fui-cell external" href="javascript:;" ng-click="access_json('jy_goodserpfw/merch.upkulog//type=0')">
			<div class="fui-cell-label bold" style="color:#fff">箱标入库</div>
			<div class="fui-cell-info" style="color:#fff;font-size:0.65rem">(今日入库:{{pagedata.lunumday}})</div>
			<div class="fui-cell-remark" style="font-size: 0.65rem;color:#fff">点击前往</div>
		</div>
	</div>
	<div class="fui-cell-group fui-cell-click mod-group radius" style="background-color:#FF4444">
		<div class="fui-cell external" href="javascript:;" ng-click="access_json('jy_goodserpfw/merch.upkulog//type=6')">
			<div class="fui-cell-label bold" style="color:#fff">盒标入库</div>
			<div class="fui-cell-info" style="color:#fff;font-size:0.65rem">(今日出库:{{pagedata.lunum2day}})</div>
			<div class="fui-cell-remark" style="font-size: 0.65rem;color:#fff">点击前往</div>
		</div>
	</div>-->
	<div class="fui-cell-group fui-cell-click mod-group radius" style="background-color:#FF547B">
		<div class="fui-cell external" href="javascript:;" ng-click="access_json('jy_goodserpfw/merch.upkulog//type=1')">
			<div class="fui-cell-label bold" style="color:#fff;font-size:0.8rem">按箱出库</div>
			<div class="fui-cell-text" style="color:#fff;font-size: 0.65rem;">
			<div>(今日出库:{{pagedata.chunumday}})</div>
			<div>解释:扫箱标二维码出库</div>
			</div>
			<div class="fui-cell-remark" style="font-size: 0.65rem;color:#fff">点击前往</div>
		</div>
	</div>
	<div class="fui-cell-group fui-cell-click mod-group radius" style="background-color:#63BE72">
		<div class="fui-cell external" href="javascript:;" ng-click="access_json('jy_goodserpfw/merch.upkulog//type=10')">
			<div class="fui-cell-label bold" style="color:#fff;font-size:0.8rem">按盒出库</div>
			<div class="fui-cell-text" style="color:#fff;font-size: 0.65rem;">
			<div>(今日出库:{{pagedata.chunum2day}})</div>
			<div>解释:扫盒标二维码出库</div>
			</div>
			<div class="fui-cell-remark" style="font-size: 0.65rem;color:#fff">点击前往</div>
		</div>
	</div>
	<!--<div class="fui-cell-group fui-cell-click mod-group radius" style="background-color:#63BE72">
		<div class="fui-cell external" href="javascript:;" ng-click="access_json('jy_goodserpfw/merch.upkulog//type=3')">
			<div class="fui-cell-label bold" style="color:#fff">箱标退货</div>
			<div class="fui-cell-info" style="color:#fff;font-size:0.65rem">(今日退货:{{pagedata.tuinumday}})</div>
			<div class="fui-cell-remark" style="font-size: 0.65rem;color:#fff">点击前往</div>
		</div>
	</div>
	<div class="fui-cell-group fui-cell-click mod-group radius" style="background-color:#cdab6a">
		<div class="fui-cell external" href="javascript:;" ng-click="access_json('jy_goodserpfw/merch.upkulog//type=30')">
			<div class="fui-cell-label bold" style="color:#fff">盒标退货</div>
			<div class="fui-cell-info" style="color:#fff;font-size:0.65rem">(今日退货:{{pagedata.tuinum2day}})</div>
			<div class="fui-cell-remark" style="font-size: 0.65rem;color:#fff">点击前往</div>
		</div>
	</div>-->
	<div class="fui-cell-group fui-cell-click mod-group radius">
		<div class="fui-cell external" href="javascript:;" ng-click="access_json('jy_goodserpfw/merch.buylog/')">
			<div class="fui-cell-text bold">进货记录</div>
			<div class="fui-cell-remark" style="font-size: 0.65rem;">查看记录</div>
		</div>
		<!--<div class="fui-cell external" href="javascript:;" ng-click="access_json('jy_goodserpfw/merch.falog/')">
			<div class="fui-cell-text bold">发货单列表</div>
			<div class="fui-cell-remark" style="font-size: 0.65rem;">查看</div>
		</div>
		<div class="fui-cell external" href="javascript:;" ng-click="access_json('jy_goodserpfw/merch.printer/')">
			<div class="fui-cell-text bold">打印机列表</div>
			<div class="fui-cell-remark" style="font-size: 0.65rem;">查看</div>
		</div>-->
	</div>
	<div class="fui-cell-group fui-cell-click mod-group radius">
							<div class="fui-cell external" href="javascript:;" ng-click="access_json('jy_goodserpfw/merch.kulog//type=all')">
								<div class="fui-cell-text bold">操作记录</div>
								<div class="fui-cell-remark" style="font-size: 0.65rem;">查看记录</div>
							</div>
							<div class="fui-icon-group col-5 selecter">
								<!--<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_goodserpfw/merch.kulog//type=0')">
									<div class="icon icon-green radius"><i class="icon icon-similarproduct"></i></div>
									<div class="text">入库记录</div>
								</a>-->
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_goodserpfw/merch.kulog/')">
									<div class="icon icon-green radius"><i class="icon icon-listzuhe"></i></div>
									<div class="text">改标记录</div>
								</a>
								<!--<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_goodserpfw/merch.kulog//type=10')">
									<div class="icon icon-green radius"><i class="icon icon-listzuhe"></i></div>
									<div class="text">盒标改标</div>
								</a>
								
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_goodserpfw/merch.kulog//type=3')">
									<div class="icon icon-green radius"><i class="icon icon-yuding"></i></div>
									<div class="text">箱标退货</div>
								</a>
								<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_goodserpfw/merch.kulog//type=30')">
									<div class="icon icon-green radius"><i class="icon icon-yuding"></i></div>
									<div class="text">盒标退货</div>
								</a>-->
							</div>
	</div>
	<div class="fui-cell-group fui-cell-click" style="background:none">
		<a class="fui-cell external btn-logout" ng-click="access_json('/login//loginup=1')">
			<div class="fui-cell-text" style="text-align: center;">退出登录</div>
		</a>
	</div>
	</div>
    </div>
</div>
<div ng-include="sys_html('merch/_footer')"></div>
<script>
scope.pagedata.scancode=function () {
			console.log('scanQRCodeOK');
			wx.scanQRCode({
				needResult: 1, // 默认为0，扫描结果由微信处理，1则直接返回扫描结果，
				scanType: ["qrCode","barCode"], // 可以指定扫二维码还是一维码，默认二者都有
				success: function (res) {
					var result = res.resultStr; // 当needResult 为 1 时，扫码返回的结果
					location.href = result;
				}
			});
}
</script>